#pragma once
#include <vector>
#include "Emitter.h"
#include <map>
#include "../SGD Wrappers/SGD_String.h"
#include "BaseObject.h"

class ParticleSystem 
{
public:

	ParticleSystem();
	~ParticleSystem();
	bool Load(const char* filename, ParticleSystem& ps, BaseObject& owner);

	Emitter* GetEmitter() { return &m_ActiveEmitter; }
	
	void Update(float dt);
	void Render();

private:

	Emitter							m_ActiveEmitter;
	std::map<SGD::String, Emitter>	m_mapLoadEmitters;

};